<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/common/include/taglibs.jsp"%>
<html>
<head>
<title> Admin</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="/pmgr/css/admin.css" >
<link rel="stylesheet" type="text/css" href="/pmgr/css/body.css" />
<link rel="stylesheet" type="text/css" href="/pmgr/css/style.css" >

	<STYLE TYPE='text/css'>
/* 	html{padding:2px; background-color: #e2e2e2;} */
td.ebpro_admin_menu {padding-left:3pt;padding-right:3pt;padding-top:3pt;}
a.sel {font-size:9pt;color:#2E8789}
a:visited.sel {font-size:9pt;color:#3265B1}
a:active.sel {font-size:9pt;color:#3265B1}
a:hover.sel {font-size:9pt;color:#3265B1;text-decoration:bold}
a.nosel {font-size:9pt;color:#4D4D4D}
a:visited.nnosel {font-size:9pt;color:#4D4D4D}
a:active.nosel {font-size:9pt;color:#4D4D4D}
a:hover.nosel {font-size:9pt;color:#4D4D4D;text-decoration:bold}
.table100h {
	height:100%;
    min-height: 100%;
    _height: 100%; /* IE6용 핵 */
    width: 80%;
    
    background: #c00;
    margin: 0 auto;
}
</STYLE>
<script type="text/javascript">
function changePw(){
	if($("#admin_pwd").val()!=$("#admin_pwd_chk").val()){
		alert("비밀번호가 일치하지 않습니다");
		$("input").val("");
		$("#admin_pwd").focus();
		return false;
	}
	//사이트 정보 가져오기
	var option = {
			url: "./peti1103T.do",
			data : {"admin_pwd":$("#admin_pwd").val()},
			success : function(json){
				if('1'==json.cnt){
					alert("비밀번호가 변경되었습니다");
					self.close();
				}else{
					alert("비밀번호 변경 실패");
				}
			}
	};
	$.getJson(option);
}
</script>
<%@ include file="/WEB-INF/jsp/common/include/pmgr/cssNscript.jsp"%>
</head>
<body leftmargin="10" topmargin="10">
	<form action="./peti1103T.do" method="post" name="form1" id="frmData">
		<table width="300" border="0" cellspacing="1" cellpadding="2"
			class="class_admin_table">
			<tr>
				<td height="25" class="class_admin_table_head" align="center">새비밀번호</td>
				<td height="25" class="class_admin_table_blank"><input type="password" name="admin_pwd" id="admin_pwd"></td>
			</tr>
			<tr>
				<td height="25" class="class_admin_table_head" align="center">새비밀번호확인</td>
				<td height="25" class="class_admin_table_blank"><input type="password" id="admin_pwd_chk"></td>
			</tr>
			<tr>
				<td height="25" class="class_admin_table_blank" colspan="2"
					align="center">
					<button onclick="changePw();return false;">변		경</button>	
				</td>
			</tr>
		</table>

	</form>

</body>

</html>
